import Common from "../../Common";

const {ccclass, property} = cc._decorator;

@ccclass
export default class ListsField extends Common {

    init(label: string, value: string) {
        this.node.getChildByName('label').getComponent(cc.Label).string = `${label}：`
        this.node.getChildByName('value').getComponent(cc.Label).string = value
    }
}
